import random

def generate_data(num_children=10, num_cookies=8, max_greed=10, max_size=10):
    g = [random.randint(1, max_greed) for _ in range(num_children)]
    s = [random.randint(1, max_size) for _ in range(num_cookies)]
    return g, s

if __name__ == "__main__":
    g, s = generate_data()
    print("孩子胃口值:", g)
    print("饼干尺寸:", s)